package com.poposchool.project.service;

import com.poposchool.project.entity.Menu;

import java.util.List;

/**
 * @Author Wang Jie
 * @Date 2022/7/5 10:38
 * @Version 1.0
 */
public interface MenuService {
    Menu getMenuById(Integer id);

    void deleteMenuById(Integer id);

    void UpdateMenu(Menu menu);

    void insertMenu(Menu menu);

    Integer getAllNum();

    List<Menu> getMenus();

    List<Menu> getPageMenus(Integer pageNum,
                            Integer pageSize,
                            String name);

    List<Menu> getMenusConstruction();
}
